package com.stock.api.domain.stock;

import java.math.BigDecimal;
import java.util.Date;

public class BusinessHistoryBean {
    /**
     * 主键,所属表字段为business_history.id
     */
    private Long id;

    /**
     * 成交日期日期,所属表字段为business_history.business_date
     */
    private String businessDate;

    /**
     * ,所属表字段为business_history.business_time
     */
    private String businessTime;

    /**
     * 股票代码,所属表字段为business_history.stock_code
     */
    private String stockCode;

    /**
     * 成交价格,所属表字段为business_history.business_price
     */
    private BigDecimal businessPrice;

    /**
     * 成交数量,所属表字段为business_history.business_number
     */
    private Integer businessNumber;

    /**
     * 成交金额,所属表字段为business_history.business_amount
     */
    private BigDecimal businessAmount;

    /**
     * 手续费,所属表字段为business_history.sum_fare
     */
    private BigDecimal sumFare;

    /**
     * 成交方向  01:买入  02:卖出,所属表字段为business_history.business_direction
     */
    private String businessDirection;

    /**
     * 盈亏,所属表字段为business_history.profit_loss
     */
    private BigDecimal profitLoss;

    /**
     * 买入卖出Id,所属表字段为business_history.out_id
     */
    private Long outId;

    /**
     * 创建人,所属表字段为business_history.create_user
     */
    private String createUser;

    /**
     * 创建日期,所属表字段为business_history.create_date
     */
    private String createDate;

    /**
     * 创建时间,所属表字段为business_history.create_time
     */
    private Date createTime;

    /**
     * 预卖价格,所属表字段为business_history.pre_sale_price
     */
    private BigDecimal preSalePrice;

    /**
     * ,所属表字段为business_history.rsource_id
     */
    private Long rsourceId;

    /**
     * 是否买入,所属表字段为business_history.is_buy
     */
    private String isBuy;

    /**
     * 股票名称
     */
    private String stockName;

    /**
     * 获取 主键 字段:business_history.id
     *
     * @return business_history.id, 主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置 主键 字段:business_history.id
     *
     * @param id business_history.id, 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 成交日期日期 字段:business_history.business_date
     *
     * @return business_history.business_date, 成交日期日期
     */
    public String getBusinessDate() {
        return businessDate;
    }

    /**
     * 设置 成交日期日期 字段:business_history.business_date
     *
     * @param businessDate business_history.business_date, 成交日期日期
     */
    public void setBusinessDate(String businessDate) {
        this.businessDate = businessDate == null ? null : businessDate.trim();
    }

    /**
     * 获取  字段:business_history.business_time
     *
     * @return business_history.business_time,
     */
    public String getBusinessTime() {
        return businessTime;
    }

    /**
     * 设置  字段:business_history.business_time
     *
     * @param businessTime business_history.business_time,
     */
    public void setBusinessTime(String businessTime) {
        this.businessTime = businessTime == null ? null : businessTime.trim();
    }

    /**
     * 获取 股票代码 字段:business_history.stock_code
     *
     * @return business_history.stock_code, 股票代码
     */
    public String getStockCode() {
        return stockCode;
    }

    /**
     * 设置 股票代码 字段:business_history.stock_code
     *
     * @param stockCode business_history.stock_code, 股票代码
     */
    public void setStockCode(String stockCode) {
        this.stockCode = stockCode == null ? null : stockCode.trim();
    }

    /**
     * 获取 成交价格 字段:business_history.business_price
     *
     * @return business_history.business_price, 成交价格
     */
    public BigDecimal getBusinessPrice() {
        return businessPrice;
    }

    /**
     * 设置 成交价格 字段:business_history.business_price
     *
     * @param businessPrice business_history.business_price, 成交价格
     */
    public void setBusinessPrice(BigDecimal businessPrice) {
        this.businessPrice = businessPrice;
    }

    /**
     * 获取 成交数量 字段:business_history.business_number
     *
     * @return business_history.business_number, 成交数量
     */
    public Integer getBusinessNumber() {
        return businessNumber;
    }

    /**
     * 设置 成交数量 字段:business_history.business_number
     *
     * @param businessNumber business_history.business_number, 成交数量
     */
    public void setBusinessNumber(Integer businessNumber) {
        this.businessNumber = businessNumber;
    }

    /**
     * 获取 成交金额 字段:business_history.business_amount
     *
     * @return business_history.business_amount, 成交金额
     */
    public BigDecimal getBusinessAmount() {
        return businessAmount;
    }

    /**
     * 设置 成交金额 字段:business_history.business_amount
     *
     * @param businessAmount business_history.business_amount, 成交金额
     */
    public void setBusinessAmount(BigDecimal businessAmount) {
        this.businessAmount = businessAmount;
    }

    /**
     * 获取 手续费 字段:business_history.sum_fare
     *
     * @return business_history.sum_fare, 手续费
     */
    public BigDecimal getSumFare() {
        return sumFare;
    }

    /**
     * 设置 手续费 字段:business_history.sum_fare
     *
     * @param sumFare business_history.sum_fare, 手续费
     */
    public void setSumFare(BigDecimal sumFare) {
        this.sumFare = sumFare;
    }

    /**
     * 获取 成交方向  01:买入  02:卖出 字段:business_history.business_direction
     *
     * @return business_history.business_direction, 成交方向  01:买入  02:卖出
     */
    public String getBusinessDirection() {
        return businessDirection;
    }

    /**
     * 设置 成交方向  01:买入  02:卖出 字段:business_history.business_direction
     *
     * @param businessDirection business_history.business_direction, 成交方向  01:买入  02:卖出
     */
    public void setBusinessDirection(String businessDirection) {
        this.businessDirection = businessDirection == null ? null : businessDirection.trim();
    }

    /**
     * 获取 盈亏 字段:business_history.profit_loss
     *
     * @return business_history.profit_loss, 盈亏
     */
    public BigDecimal getProfitLoss() {
        return profitLoss;
    }

    /**
     * 设置 盈亏 字段:business_history.profit_loss
     *
     * @param profitLoss business_history.profit_loss, 盈亏
     */
    public void setProfitLoss(BigDecimal profitLoss) {
        this.profitLoss = profitLoss;
    }

    /**
     * 获取 买入卖出Id 字段:business_history.out_id
     *
     * @return business_history.out_id, 买入卖出Id
     */
    public Long getOutId() {
        return outId;
    }

    /**
     * 设置 买入卖出Id 字段:business_history.out_id
     *
     * @param outId business_history.out_id, 买入卖出Id
     */
    public void setOutId(Long outId) {
        this.outId = outId;
    }

    /**
     * 获取 创建人 字段:business_history.create_user
     *
     * @return business_history.create_user, 创建人
     */
    public String getCreateUser() {
        return createUser;
    }

    /**
     * 设置 创建人 字段:business_history.create_user
     *
     * @param createUser business_history.create_user, 创建人
     */
    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    /**
     * 获取 创建日期 字段:business_history.create_date
     *
     * @return business_history.create_date, 创建日期
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * 设置 创建日期 字段:business_history.create_date
     *
     * @param createDate business_history.create_date, 创建日期
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate == null ? null : createDate.trim();
    }

    /**
     * 获取 创建时间 字段:business_history.create_time
     *
     * @return business_history.create_time, 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置 创建时间 字段:business_history.create_time
     *
     * @param createTime business_history.create_time, 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 预卖价格 字段:business_history.pre_sale_price
     *
     * @return business_history.pre_sale_price, 预卖价格
     */
    public BigDecimal getPreSalePrice() {
        return preSalePrice;
    }

    /**
     * 设置 预卖价格 字段:business_history.pre_sale_price
     *
     * @param preSalePrice business_history.pre_sale_price, 预卖价格
     */
    public void setPreSalePrice(BigDecimal preSalePrice) {
        this.preSalePrice = preSalePrice;
    }

    /**
     * 获取  字段:business_history.rsource_id
     *
     * @return business_history.rsource_id,
     */
    public Long getRsourceId() {
        return rsourceId;
    }

    /**
     * 设置  字段:business_history.rsource_id
     *
     * @param rsourceId business_history.rsource_id,
     */
    public void setRsourceId(Long rsourceId) {
        this.rsourceId = rsourceId;
    }

    /**
     * 获取 是否买入 字段:business_history.is_buy
     *
     * @return business_history.is_buy, 是否买入
     */
    public String getIsBuy() {
        return isBuy;
    }

    /**
     * 设置 是否买入 字段:business_history.is_buy
     *
     * @param isBuy business_history.is_buy, 是否买入
     */
    public void setIsBuy(String isBuy) {
        this.isBuy = isBuy == null ? null : isBuy.trim();
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }
}